.grid {
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    .grid-item {
        display: flex;
        // flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        // flex-basis: 30%;
        margin-bottom: 10px;
        box-sizing: border-box;
        margin-right: 5px;
        &:nth-child(3n) {
            margin-right: 0;
        }
        img {
            width: 100px;
            height: 100px;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-bottom: 20px;
        }
        span {
            font-size: 14px;
            color: #000;
        }
    }
}